.class public Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;
.super Ljava/lang/Object;
.source "MessageBoxJavaScriptInterface.java"


# static fields
.field public static final PLAY_PACKAGE_NAME:Ljava/lang/String; = "com.android.vending"


# instance fields
.field cxt:Landroid/content/Context;

.field private mActivity:Landroid/app/Activity;

.field private mImageShareHelper:Lcom/estrongs/android/pop/app/messagebox/e;

.field private mProgressDialog:Landroid/app/ProgressDialog;


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Application;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    .line 5
    new-instance p1, Lcom/estrongs/android/pop/app/messagebox/e;

    invoke-direct {p1}, Lcom/estrongs/android/pop/app/messagebox/e;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mImageShareHelper:Lcom/estrongs/android/pop/app/messagebox/e;

    return-void
.end method


# virtual methods
.method public checkAPPInstalled(Ljava/lang/String;)Z
    .locals 1
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-static {v0, p1}, Lcom/estrongs/android/pop/app/messagebox/l;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method public checkAppsStoped(Ljava/lang/String;)Z
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    const/4 v1, 0x0

    .line 2
    :try_start_0
    invoke-virtual {v0, p1, v1}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

    move-result-object p1

    iget-boolean p1, p1, Landroid/content/pm/ApplicationInfo;->enabled:Z
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 3
    invoke-virtual {p1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    const/4 p1, 0x1

    :goto_0
    return p1
.end method

.method public checkShareAppsInstalled()Z
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    const-string v0, "com.instagram.android"

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAppsStoped(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    :cond_0
    const-string v0, "com.facebook.katana"

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAppsStoped(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    :cond_1
    const-string v0, "com.google.android.apps.plus"

    .line 3
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAppsStoped(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    :cond_2
    const-string v0, "com.twitter.android"

    .line 4
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAppsStoped(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    :cond_3
    const-string v0, "com.tencent.mm"

    .line 5
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAppsStoped(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_4
    const/4 v0, 0x1

    goto :goto_0

    :cond_5
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public destroyActivity()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    return-void
.end method

.method public getMEI()Ljava/lang/String;
    .locals 1
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    const-string v0, ""

    return-object v0
.end method

.method public getRealTimeMonitorState()I
    .locals 3
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-static {}, Les/m00;->b()Les/m00;

    move-result-object v0

    const-string v1, "lock_realtimemonitor"

    invoke-virtual {v0, v1}, Les/m00;->a(Ljava/lang/String;)Les/k00;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    .line 2
    :cond_0
    invoke-virtual {v0}, Les/l00;->c()Z

    move-result v1

    if-nez v1, :cond_1

    const/4 v0, 0x1

    goto :goto_0

    .line 3
    :cond_1
    invoke-virtual {v0}, Les/l00;->d()Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x2

    goto :goto_0

    :cond_2
    const/4 v0, 0x3

    .line 4
    :goto_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "getRealTimeMonitorState state = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;)V

    return v0
.end method

.method public getToken()Ljava/lang/String;
    .locals 1
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-static {v0}, Les/og;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getUrlSuffix()Ljava/lang/String;
    .locals 1
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/util/b0;->b(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getVersionCode()I
    .locals 3
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    const/4 v0, 0x0

    .line 1
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v1

    iget v0, v1, Landroid/content/pm/PackageInfo;->versionCode:I
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return v0
.end method

.method public getVersionName()Ljava/lang/String;
    .locals 3
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v0

    iget-object v0, v0, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    return-object v0

    :catch_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public goToFunction(Ljava/lang/String;)V
    .locals 0
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    return-void
.end method

.method public goToFunction(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 3
    new-instance v1, Landroid/content/ComponentName;

    invoke-direct {v1, p1, p2}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    const/high16 p1, 0x10000000

    .line 5
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public goToFunction(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 7
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 8
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 9
    new-instance v1, Landroid/content/ComponentName;

    invoke-direct {v1, p1, p2}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    const-string p1, "android.intent.extra.KEY_EVENT"

    .line 11
    invoke-virtual {v0, p1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 p1, 0x10000000

    .line 12
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public goToGooglePlay(Ljava/lang/String;)V
    .locals 2
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "http://market.android.com/details?id="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    .line 2
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    const-string p1, "com.android.vending"

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 4
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    :cond_0
    const/high16 p1, 0x10000000

    .line 5
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public gotoToolBox(Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkAPPInstalled(Ljava/lang/String;)Z

    move-result p1

    if-nez p1, :cond_0

    :cond_0
    return-void
.end method

.method public progressDialogDissmiss()V
    .locals 1
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    const/4 v0, 0x0

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    :cond_0
    return-void
.end method

.method public progressDialogShow(Z)V
    .locals 3
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Landroid/app/ProgressDialog;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->cxt:Landroid/content/Context;

    const v2, 0x7f110695

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    invoke-virtual {v0, p1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mProgressDialog:Landroid/app/ProgressDialog;

    invoke-virtual {p1}, Landroid/app/ProgressDialog;->show()V

    return-void
.end method

.method public showUnlockRealTimeDialog()V
    .locals 5
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-static {}, Les/m00;->b()Les/m00;

    move-result-object v0

    const-string v1, "lock_realtimemonitor"

    invoke-virtual {v0, v1}, Les/m00;->a(Ljava/lang/String;)Les/k00;

    move-result-object v0

    if-nez v0, :cond_0

    const-string v0, "lock info is null"

    .line 2
    invoke-static {v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;)V

    return-void

    .line 3
    :cond_0
    invoke-virtual {v0}, Les/l00;->c()Z

    move-result v2

    if-nez v2, :cond_1

    const-string v0, "lock info activated = false"

    .line 4
    invoke-static {v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;)V

    return-void

    .line 5
    :cond_1
    invoke-virtual {v0}, Les/l00;->d()Z

    move-result v0

    if-nez v0, :cond_2

    const-string v0, "realtimemonitor is unloked!"

    .line 6
    invoke-static {v0}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;)V

    return-void

    .line 7
    :cond_2
    new-instance v0, Lcom/estrongs/android/pop/app/unlock/h$b;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/unlock/h$b;-><init>()V

    .line 8
    iget-object v2, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Landroid/content/Context;)Lcom/estrongs/android/pop/app/unlock/h$b;

    const/4 v2, 0x4

    .line 9
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/unlock/h$b;->c(I)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 10
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    const-string v4, "messagebox"

    aput-object v4, v2, v3

    const/4 v3, 0x1

    aput-object v1, v2, v3

    .line 11
    invoke-static {v2}, Lcom/estrongs/android/statistics/TraceRoute;->create([Ljava/lang/String;)Lcom/estrongs/android/statistics/TraceRoute;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Lcom/estrongs/android/statistics/TraceRoute;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 12
    invoke-virtual {v0, v4}, Lcom/estrongs/android/pop/app/unlock/h$b;->b(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 13
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/h;->d()Lcom/estrongs/android/pop/app/unlock/h;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/app/unlock/h;->a(Lcom/estrongs/android/pop/app/unlock/h$b;)Ljava/lang/Object;

    return-void
.end method

.method public socialShare(Ljava/lang/String;Z)V
    .locals 3
    .annotation runtime Landroid/webkit/JavascriptInterface;
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->checkShareAppsInstalled()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    const v1, 0x7f090d8f

    invoke-virtual {v0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mImageShareHelper:Lcom/estrongs/android/pop/app/messagebox/e;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/messagebox/MessageBoxJavaScriptInterface;->mActivity:Landroid/app/Activity;

    invoke-virtual {v1, v2, p1, p2, v0}, Lcom/estrongs/android/pop/app/messagebox/e;->a(Landroid/app/Activity;Ljava/lang/String;ZLandroid/view/View;)V

    :cond_0
    return-void
.end method
